<?php

defined('_JEXEC') or die('Restricted access');
jimport('joomla.application.component.model');

class ModelSimAdminSimAdmin extends JModel {

    var $_SimAdmin = null;

    function getSimAdmin() {
        if (!$this->$_SimAdmin) {
            $query = "SELECT * FROM #__sim_admin ORDER BY admin_id";
            $this->$_SimAdmin = $this->_getList($query, 0, 0);
        }
        return $this->$_SimAdmin;
    }

}

?>